<!DOCTYPE html>
<html>
<head>
	<title>表单模块_查看权限设置</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link rel="stylesheet" href="__PUBLIC__/Admin/css/min.css" />
	<link rel="stylesheet" href="__PUBLIC__/Admin/content/style.css" />

	<!-- jQuery AND jQueryUI -->
	<script type="text/javascript" src="__PUBLIC__/Admin/js/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/content/main.js"></script>
</head>
<body>
<!-- CONTENT -->
<div id="content" class="white">

  <div class="bloc">
    <div class="title">
		表单模块_查看权限设置
	</div>
    <form method="post" action="editOperation">
		<?php
			$id = I('get.id');
			if($id){
				echo "<input type='hidden' name='id' value='".$id."'/>";
			}
		?>
    <div class="content">
      <div class="input">
		<table>
		  <tr>
			<td>创建人
				<select name='showrightcreater'>
					<?php
						echo '<option value=0 '; if($object[showrightcreater]==0){ echo 'selected=selected';	} echo '>否</option>';
						echo '<option value=1 '; if($object[showrightcreater]==1){ echo 'selected=selected';	} echo '>是</option>';
					?>
				</select>
			<td/>
		  </tr>
		  <tr>
			<td>创建人上级
				<select name='showrightcreaterpid'>
					<?php
						echo '<option value=0 '; if($object[showrightcreaterpid]==0){ echo 'selected=selected';	} echo '>否</option>';
						echo '<option value=1 '; if($object[showrightcreaterpid]==1){ echo 'selected=selected';	} echo '>是</option>';
					?>
				</select>
			<td/>
		</tr>
		<tr>
			<td>创建人部门
				<select name='showrightcreaterdep'>
					<?php
						echo '<option value=0 '; if($object[showrightcreaterdep]==0){ echo 'selected=selected';	} echo '>否</option>';
						echo '<option value=1 '; if($object[showrightcreaterdep]==1){ echo 'selected=selected';	} echo '>是</option>';
					?>
				</select>
			<td/>
		  </tr>
		  <tr>
			<td>人力资源:
				<select name='showrightuser' >
					<option value='-1'>无</option>
					<volist name='userlist' id='vo'>
						<option value="{$vo.id}" <eq name="vo.id" value="$object['showrightuser']">selected='selected'</eq> >
							{$vo.nickname}
						</option>
					</volist>
				</select>
			<td/>
		  </tr>
		  <tr>
			<td>部门:
				<select name='showrightdep' >
					<option value='-1'>无</option>
					<volist name='deplist' id='vo'>
						<option value="{$vo.id}" <eq name="vo.id" value="$object['showrightdep']">selected='selected'</eq> >
							{$vo.name}
						</option>
					</volist>
				</select>
			<td/>
		  </tr>
		  <tr>
			<td>所有人
				<select name='showrightall'>
					<?php
						echo '<option value=0 '; if($object[showerightall]==0){ echo 'selected=selected';	} echo '>否</option>';
						echo '<option value=1 '; if($object[showrightall]==1){ echo 'selected=selected';	} echo '>是</option>';
					?>
				</select>
			<td/>
		  </tr>
		<table/>
      </div>
      <div class="submit">
        <input type="submit" value="确定保存" class="black"/>
      </div>
    </div>
    </form>
  </div>
</div>
</body>
</html>